


static def sayHello(){
    println("Hello world, frank!")
}


static void main(String[] args) {
    //  Using a simple println statement to print output to the console

    println("Hello world, frank 1!")
    sayHello()

    /* This program is the first program
     This program shows how to display hello world
     */

    def num = 5;
    //    注意这里使用 双引号
    println("Hello World, ${num}")

    // 这样是不能解析出来变量的
    println('Hello World, ${num}')

}

